package com.pinyou.dashboard;

import com.pinyou.dashboard.mapper.UserMapper;
import com.pinyou.dashboard.pojo.TbUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description:
 * @Auther:jzfai
 * @create 2020-05-01 00:42
 */
@Service
public class UserService {
  @Autowired
  private UserMapper userMapper;

  public TbUser customSql(Long uid){
    return userMapper.selectSelf(uid);
  }

}
